package cn.edu.qzuie.artist.module.td.controller.app.teacher.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * AppTeacherAuthLoginRepVo
 * 教师APP--Response
 * @author life.
 * @date 2025/3/31
 */
@Schema(description = "教师登录 Response VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppTeacherAuthLoginRepVo {
    @Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "teacher_token_123")
    private String accessToken;

    @Schema(description = "刷新访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "teacher_token_123")
    private String refreshToken;

    @Schema(description = "教师编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long teacherId;

    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "teacher_token_123")
    private Integer userType;

    @Schema(description = "进入时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "teacher_token_123")
    private LocalDateTime expiresTime;
}